package day39.edu.domain;

public class PC implements Equipment{
    private String model; // the model of machine
    private String display; // the name of display

    public PC()
    {

    }

    public PC(String model, String display)
    {
        this.model = model;
        this.display = display;
    }

    public void setModel(String model)
    {
        this.model = model;
    }

    public void setDisplay(String display)
    {
        this.display = display;
    }

    public String getModel()
    {
        return this.model;
    }

    public String getDisplay()
    {
        return this.display;
    }

    @Override
    public String getDescription() {
        return this.getModel() + "(" + this.getDisplay() + ")";
    }
}
